﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace sixgod.Model.User
{
    [SugarTable("Job","职位")]
    public class Job:ModelBase
    {
        public string Name { get; set; }

        [SugarColumn(ColumnDescription = "上级",IsNullable = true)]
        public string? ParentCode{get;set;}

        [SugarColumn(IsNullable = true)]
        public string? Remark { get; set; }
        

        /// <summary>
        /// 模型数据验证
        /// </summary>
        /// <returns></returns>
        public override (bool, string) Verify()
        {
            return (false, null);
        }
    }
}
